package com.module.admin.Warpper;

import com.module.common.BaseControllerWarpper;
import com.module.common.factory.ConstantFactory;
import com.module.listen.OnlineSession;
import com.module.listen.SessionListener;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

public class UserOrderWarpper extends BaseControllerWarpper{

    public UserOrderWarpper(List<Map<String, Object>> list) {
        super(list);
    }

    @Override
    public void warpTheMap(Map<String, Object> map) {
        map.put("status", ConstantFactory.me().getOrderStatus((Integer) map.get("order_status")));

    }
}
